home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 11 / Cream of the Crop 11-2.iso / bbs / ho56.zip / OMI.TXT < prev    next >
Text File  |  1995-11-21  |  23KB  |  572 lines

  1.  
  2.  
  3.           HANDS ON  Remote Control  File Transfers    Page 1
  4.  
  5.  
  6.  
  7.  
  8.  
  9.           *** NOTE: USE "INSTALL" or "1STHAND SETUP" to install Hands On ***
  10.               The MAIN manual is HO.TXT; it is available during the setup
  11.  
  12.  
  13.           Please pay for this Shareware product if you continue to use it
  14.  
  15.  
  16.                              _______
  17.                         ____|__     |               (R)
  18.                      --|       |    |-------------------
  19.                        |   ____|__  |  Association of
  20.                        |  |       |_|  Shareware
  21.                        |__|   o   |    Professionals
  22.                      -----|   |   |---------------------
  23.                           |___|___|    Member
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.           Table of Contents                                          page #
  31.  
  32.  
  33.           1.0   Introduction
  34.           2.0   Installation
  35.                 2.1  Trigger Strings
  36.           3.0   Normal Operation
  37.           4.0   Sample File Transfer Sequences
  38.                 4.1   Backups and similar file transfers
  39.                 4.2   File encryption
  40.           5.0   SUPPORT and the ASP
  41.           6.0   Warranty
  42.           7.0   Acknowledgments
  43.  
  44.           1.0 Introduction
  45.  
  46.           The Hands On remote Control software package uses the OMNI
  47.           modem manager and file transfer package (OMI.EXE and family)
  48.           because its very fast and can link many kinds of computers.
  49.           You will notice that OMI is used interchangeably as an
  50.           abbreviation of OMNI.  OMNI will allow you to transfer files
  51.           between your PC and any system that can run omiget and
  52.           omiput.  The source code for omiput and omiget is available to
  53.           registered users for porting them to other systems (We assume
  54.           a UNIX bias).  In addition to being relatively efficient
  55.  
  56.  
  57.  
  58.  
  59.  
  60.           HANDS ON  Remote Control  File Transfers    Page 2
  61.  
  62.  
  63.  
  64.           (about as fast as Zmodem and hydracom), the file transfers can
  65.           take place in the background while you use your DOS PC for
  66.           other tasks.  The background file transfers will be a
  67.           lifesaver for some people.
  68.  
  69.           OMNI can be installed to automate dialing and log-in
  70.           sequences, saving time and frustration at the start of each
  71.           session.  Check the WIZARD.txt for information on how to
  72.           completely automate entire sessions.
  73.  
  74.           OMNI uses its own terminal emulation, which is very
  75.           efficient.  Omi220 basically emulates a VT220 (or VT100)
  76.           terminal.
  77.  
  78.           OMNI will allow you to connect an IBM PC to a mini-computer
  79.           either directly or via a modem and telephone line.
  80.  
  81.           The OMNI package allows you to transparently swap in Omen
  82.           Technology's DSZ file transfer package, which handles bad
  83.           phone lines very well.  Although, its likely that if the phone
  84.           lines get too noisy you will find HANDS ON too frustrating to
  85.           use for remote access because it spends too much time
  86.           correcting and re-sending screen updates to replace previous
  87.           damaged ones.  Of course, DSZ defines compatibility and has a
  88.           range of nifty file transfer features.
  89.  
  90.           Portions of the Hands On distribution actually alter other
  91.           .exes in the distribution.  This sharply reduces RAM memory
  92.           usage and .EXE file size while increasing speed, but you may
  93.           find virus checkers that go bonkers.  Also, if you pklite or
  94.           diet the .EXE's to make them smaller, you will be destroying
  95.           vital configuration information in the individual .EXE.
  96.  
  97.  
  98.           The HO.txt has sample scenarios or session setups as follows:
  99.           APPENDIX A - Configuration Scenarios
  100.                A1    Consultant/Client via Modem
  101.                A2    Remote/Shared via Modem
  102.                A3    Laptop/Desktop via Direct Cable
  103.                A4    Remote/Shared via Common Mini-computer
  104.                A5    Home/Office via Modem
  105.  
  106.  
  107.           2.0 Installation
  108.  
  109.           The installation and configuration process actually modifies
  110.           several files including:  OMIGET.EXE, OMIPUT.EXE, HOTALK.EXE,
  111.           HODIAL.EXE, HOEXTR.EXE, HOEXTS.EXE and HOMODSET.EXE.  The
  112.  
  113.  
  114.  
  115.  
  116.  
  117.           HANDS ON  Remote Control  File Transfers    Page 3
  118.  
  119.  
  120.  
  121.           package is installed by editing a configuration file.  For you
  122.           more technical people, a typical configuration file might
  123.           appear as follows:
  124.  
  125.           OMI Configuration File Note:  Do NOT change the order of these
  126.           parameters, or delete any lines!
  127.  
  128.           "COM1"        Communications port ("COM2" or base/interrupt)
  129.           9600          Baud rate (typically 2400 or 9600)
  130.           8             Data bits (7 or 8)
  131.           1             Stop bits (1 or 2)
  132.           "NONE"        Parity (NONE, EVEN, ODD, MARK or SPACE)
  133.           "COMSPEC"     DOS Command Interpreter (usually "COMSPEC")
  134.           07            Attribute for normal text
  135.           70            Attribute for marked block text (reverse)
  136.           0F            Attribute for highlighted text (high intensity)
  137.           F0            Attribute for column number when log file is open
  138.           "omiput %s\r" Start of remote command to send (download) files
  139.           "omiget\r"    Remote command to receive (upload) files
  140.           440           Frequency of "bell" tone (Hz)
  141.           100           Duration of "bell" tone (ms)
  142.           256           Block size for file upload (1-256)
  143.           4             Number of block buffers for upload (1-8)
  144.           "YES"         Send "break" in response to framing error? (YES/NO)
  145.           350           Length of "break" (ms)
  146.           10000         Time to wait before giving up transfer (ms)
  147.           3000          Time to wait for first char before timeout (ms)
  148.           1000          Time to wait for subsequent chars in block (ms)
  149.           300           Send <c> every <n> seconds (0 means none)
  150.           "\0x00"       Char to send (<c>) every <n> seconds
  151.           "[OMI] %s"    DOS shell prompt format string
  152.           "\r"          Connect command for modem
  153.           ""            Disconnect command for modem
  154.  
  155.           The OMIPUT and OMIGET programs are often used from other
  156.           directories, so it maybe useful to edit the setup to include
  157.           their directory as in:  "C:\HO\OMIPUT %s\r".
  158.  
  159.  
  160.           2.1 Trigger Strings
  161.  
  162.           Each of the remaining lines must contain 3 strings and a
  163.           number.  The first string is the trigger string to search
  164.           for.  The second string is the response to be sent after
  165.           finding the trigger.  The third string is the response to be
  166.           sent after timeout.  The number is the time to wait before
  167.           timeout (in ms).
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.           HANDS ON  Remote Control  File Transfers    Page 4
  175.  
  176.  
  177.  
  178.           "DISCONNECTED"      "\D250\r"          "\r"             5000
  179.           "Enter RESOURCE ? " "\D200G9000\r"     "\r"             5000
  180.           "CONNECTED TO"      ""                 ""               5000
  181.           "\rlogin: "         "\D200whoami\r"      "\B\r"           2000
  182.           "\nlogin: "         "\D200whoami\r"      "\B\r"           2000
  183.           "Password:"         "\D200secret\r"    "\r"            10000
  184.           "Selection: "       "\D100d\r"         ""              40000
  185.           "/users/"           ""                 ""              40000
  186.  
  187.  
  188.           - The serial port should be chosen to suit your own PC.  Only
  189.           the standard COM1 and COM2 ports are supported by name;  if
  190.           you want to use COM3, COM4 or non-standard interrupts, then
  191.           you must specify the I/O port base address and interrupt
  192.           number (e.g. COM1 is 03F8/0C).  It doesn't hurt to look at the
  193.           back of the machine to see what is attached to which port.
  194.  
  195.           - The baud rate should be chosen to match your modem or direct
  196.           connection.
  197.  
  198.           - Most computers now expect 8 data bits, so this line should
  199.           never need to be changed.
  200.  
  201.           - Most computers only require 1 stop bit, so this line should
  202.           never need to be changed.
  203.  
  204.           - Most computers no longer use parity, so this line should
  205.           never need to be changed.
  206.  
  207.           - This is the path name of your DOS command interpreter (for
  208.           example, C:/DOS/COMMAND.COM - note / not \).  However, if you
  209.           have an environment variable called "COMSPEC", then it is
  210.           better to use this instead (as in the sample file above).  The
  211.           best thing is to try shelling out to DOS using COMSPEC, and if
  212.           this does not work then try using an explicit path.
  213.  
  214.           - The next four lines determine the video attributes that OMNI
  215.           will use for various purposes.  The first hexadecimal digit
  216.           determines the background color, and the second digit
  217.           determines the foreground color.  If you do not like the
  218.           default colors, then you can play around with these to get the
  219.           effect you desire.
  220.  
  221.           - The example above shows the correct commands to download and
  222.           upload files on a UNIX system that has omiget and omiput
  223.           installed in one of the default directories.
  224.  
  225.           - You can change the frequency and duration of the "bell" that
  226.  
  227.  
  228.  
  229.  
  230.  
  231.           HANDS ON  Remote Control  File Transfers    Page 5
  232.  
  233.  
  234.  
  235.           OMNI sounds to get your attention.  The settings in the sample
  236.           above should be acceptable to most people.
  237.  
  238.           - The maximum possible block size for file upload is limited
  239.           by the size of the input buffer on the host computer.  256
  240.           will give best performance if the input buffer is big enough.
  241.           If errors occur frequently, then experiment with a smaller
  242.           value (see the following paragraph also).
  243.  
  244.           - The maximum number of blocks that can be sent during upload
  245.           without acknowledgement also depends on the size of the host
  246.           computer's input buffer.  If the input buffer is big enough,
  247.           then 8 blocks will work well.  If the input buffer is very
  248.           small, you may need to cut this down to 1 and even cut down
  249.           the size of that 1 (see the previous paragraph).
  250.  
  251.           - When logging in at speeds other than the default, many
  252.           computers have a bit of trouble working out what speed you are
  253.           using.  For example, you may be sending at 14400 baud, and the
  254.           host may be responding at 9600 baud!  In this situation it is
  255.           often necessary for you to send what is known as a "break" to
  256.           get the computer's attention.  OMNI can be installed to do
  257.           this automatically for you.
  258.  
  259.           - 350 ms seems to work well with most computers.  If the break
  260.           is too long then you may get disconnected.  If the break is
  261.           too short, then it may not be noticed...
  262.  
  263.           - After starting a file transfer, OMNI waits for some
  264.           acknowledgement that the host computer is ready to begin the
  265.           transfer.  If this acknowledgement does not appear, then
  266.           eventually OMNI must give up.
  267.  
  268.           - During file transfer, OMNI sends and receives "blocks" of
  269.           characters.  When OMNI is waiting for a block to be received,
  270.           it will only wait a limited time before sending a "wakeup"
  271.           message to the host computer.  You can choose how impatient
  272.           you want OMNI to be!
  273.  
  274.           - Once the first character in a block has been received, the
  275.           remainder of the block will normally follow at full speed.
  276.           Therefore, a much shorter gap in the middle of a block
  277.           probably means problems.
  278.  
  279.           - Some "intelligent" pads will log you out if you type nothing
  280.           for a few minutes.  OMNI can automatically send a character
  281.           every few minutes if you have not typed anything.  The "NULL"
  282.           character "\0x00" is usually quite harmless, and once every 5
  283.  
  284.  
  285.  
  286.  
  287.  
  288.           HANDS ON  Remote Control  File Transfers    Page 6
  289.  
  290.  
  291.  
  292.           minutes is frequent enough for most purposes.
  293.  
  294.           - If you shell out of OMNI to do something at the DOS level,
  295.           the prompt will be modified to remind you what is going on.
  296.  
  297.           - When OMNI first starts running, it will transmit the connect
  298.           command for the modem.  This may be a dialing command if you
  299.           will always be connecting via modem.
  300.  
  301.           - When OMNI finishes running, it will transmit the disconnect
  302.           command to the modem.  If your modem automatically hangs up
  303.           when the DTR signal is removed (or you have a direct line),
  304.           then you do not need anything here.  However, if your modem
  305.           ignores DTR, then you may need to send a command to make your
  306.           modem hang up the 'phone.
  307.  
  308.           - You may have noticed in the sample above special characters
  309.           like "\r", \0x00 and "\D333".  These are used to get
  310.           characters or effects that cannot be entered as part of the
  311.           normal string.  "\r" is the carriage return character.  "\n"
  312.           is the line feed character.  Any character can be coded by
  313.           entering its ASCII value in hexadecimal (for example, the
  314.           carriage return character (hex 0D) could be entered as
  315.           "\0x0D").  Delays (from 1/18th of a second to 255/18ths of a
  316.           second, but specified in milliseconds) can be entered with
  317.           special characters of the form "\D500." (half a second).  The
  318.           "." at the end of the number is ignored, and is only really
  319.           needed if a numeric digit needs to follow a delay.  "\B"
  320.           causes OMNI to send a BREAK.
  321.  
  322.           - When OMNI starts running, after sending the modem connect
  323.           command, it then starts looking for any of the trigger
  324.           strings.  If it finds one, it transmits the associated
  325.           response string, and marks the next line as the current
  326.           trigger string (if the final trigger string is detected, then
  327.           OMNI ceases checking for trigger strings).  If OMNI receives
  328.           nothing for longer than the timeout specified for the current
  329.           trigger string, then OMNI will send the timeout response
  330.           string for the current trigger string.
  331.  
  332.  
  333.  
  334.           3.0 Normal Operation
  335.  
  336.           Once OMNI (aka OMI) has been correctly installed, you should
  337.           be able to enter a command such as:  OMI UNIX (use
  338.           configuration file UNIX.OMI) and you will then be fully logged
  339.           in without having to type anything!
  340.  
  341.  
  342.  
  343.  
  344.  
  345.           HANDS ON  Remote Control  File Transfers    Page 7
  346.  
  347.  
  348.  
  349.           Any normal key you type will be transmitted to the host
  350.           computer, and anything the host computer sends to you will be
  351.           displayed on your screen.  OMI can thus be used exactly like a
  352.           normal terminal.
  353.  
  354.           However, OMNI has some extra capabilities not usually found on
  355.           terminals:
  356.  
  357.           Key         OMI Action
  358.           ===         ==========
  359.  
  360.           <F1> display on-line help
  361.  
  362.           <F2> set normal attribute and clear input buffer use this if
  363.           your screen is left with odd colors, or if you want to stop
  364.           the automatic login sequence for any reason
  365.  
  366.           <Ctrl-F2> restart automatic login sequence
  367.  
  368.           <Alt-F2> toggle column number display
  369.  
  370.           <F3> pause display (works better than )
  371.  
  372.           <F4> resume display (instead of ) use these to stop text
  373.           scrolling off your screen before you can read it
  374.  
  375.           <F7> toggle LOG file (column number flashes if LOG file is
  376.           active) a log file records everything except "escape"
  377.           sequences that is displayed on your screen, so that you can
  378.           look at it later
  379.  
  380.           <F8> send DEL character (UNIX interrupt) probably only useful
  381.           on the UNIX system, to stop the current process without
  382.           producing a "core dump"
  383.  
  384.           <F9> send break to host computer this is the usual way to
  385.           abort a running program on a HP3000
  386.  
  387.           <F10> exit OMI (or Alt-X) you will be given the option to
  388.           shell out to DOS (so that you can return to OMI later) or to
  389.           exit OMI completely and disconnect the call
  390.  
  391.           <Ctrl-Home> redisplay recent text that has scrolled off the
  392.           screen this will allow you to scan back through about the last
  393.           four or five screens of text that have scrolled off your
  394.           screen - handy if something important just disappeared off the
  395.           top!  However, if you are interested in going a long way back
  396.           then it is better to start a log file
  397.  
  398.  
  399.  
  400.  
  401.  
  402.           HANDS ON  Remote Control  File Transfers    Page 8
  403.  
  404.  
  405.  
  406.           <Ctrl-PgUp> upload file using OMNI protocol use this to
  407.           transfer files from your PC to the host computer.  You can
  408.           transfer either text files or binary files.  You can specify
  409.           multiple files (for example, "*.DBF *.DAT" will transfer all
  410.           the files in the current directory that end with .DBF or
  411.           .DAT).  If the files you wish to transfer are not in the
  412.           current directory, then you can use <F10> to shell out to DOS,
  413.           change directory, and then exit back to OMI.
  414.  
  415.           <Ctrl-PgDn> download file using OMNI protocol Use this to
  416.           transfer files from the host computer to your PC.  You can use
  417.           the usual multiple file naming conventions of the host
  418.           computer when specifying files to download
  419.  
  420.           While a file transfer is taking place, a number will appear in
  421.           the top right corner of the screen.  This is the total number
  422.           of bytes remaining before the file transfer is completed.  The
  423.           display will also show the most recent error message, and an
  424.           indication of the efficiency of the transfer (relative to the
  425.           theoretical maximum possible efficiency).
  426.  
  427.           While a file transfer is taking place, you can also shell out
  428.           of OMI to use your computer for other purposes while the file
  429.           transfer takes place in the background.  The number of bytes
  430.           remaining will still be displayed in the top right corner of
  431.           the screen, so that you have some idea how the transfer is
  432.           going.
  433.  
  434.           Please note that you can set your modem to automatically
  435.           hangup if it senses an inactive line for a given time.  You
  436.           can also accidentally create such a setup.  See your modem's
  437.           manual for more information.
  438.  
  439.  
  440.           4.0 Sample File Transfer Sequence
  441.  
  442.           The following is a step-by-step set of instructions for
  443.           transferring all the .DBF source files from SALES to a
  444.           sub-directory called PCSALES on the HP9000 (assuming that OMNI
  445.           is correctly installed):
  446.  
  447.           1) Make SALES the current directory, as in:  cd SALES
  448.  
  449.           2) Run OMI, as in:  omi unix You should now automatically be
  450.           completely logged in.
  451.  
  452.           3) Make the pcsales sub-directory the current working
  453.           directory at the host end:  cd pcsales
  454.  
  455.  
  456.  
  457.  
  458.  
  459.           HANDS ON  Remote Control  File Transfers    Page 9
  460.  
  461.  
  462.  
  463.           4) Bring up the OMI file upload menu:  <Ctrl-PgUp> (hold down
  464.           the Control key, then type the PgUp key)
  465.  
  466.           5) Select text file transfer:  1
  467.  
  468.           6) Enter the names of the files to be transferred:  *.DBF for
  469.           all the files that end in .DBF
  470.  
  471.           All the files will now be transferred!
  472.  
  473.           Read the WIZARD.txt for information on the Wizard and the
  474.           Wizard Feeder for ways to automate file transfers.
  475.  
  476.  
  477.           4.1 Backups and similar file transfers
  478.  
  479.           Many people backup using tools like PCtools then transfer the
  480.           resulting files.  Others backup using the scheme shown above.
  481.  
  482.           You might also consider the QuickFix System, which allows you
  483.           to transfer file changes instead of complete files.  You only
  484.           transfer a file describing the file changes with a tool that
  485.           can update the changes on the original file.
  486.  
  487.  
  488.           4.2 File encryption
  489.  
  490.           Hands On and Omni allow you to choose various methods to
  491.           encrypt files.
  492.  
  493.           PKZIP, mentioned just above has an encryption option for North
  494.           American users.  The combination of encrypting and archiving
  495.           in one tool is very attractive.
  496.  
  497.           Most people can use their modem and communications software to
  498.           access a Bulletin Board System (BBS) and download a copy of
  499.           the Pretty Good Privacy software (PGP).  PGP does an excellent
  500.           job.
  501.  
  502.  
  503.  
  504.           5.0 SUPPORT and the ASP
  505.  
  506.           Compuserve:  Vic Williams at 75020, 2664
  507.  
  508.           INTERNET:vic_williams@mindlink.bc.ca.
  509.  
  510.           604 - 433 - 5189
  511.  
  512.  
  513.  
  514.  
  515.  
  516.           HANDS ON  Remote Control  File Transfers    Page 10
  517.  
  518.  
  519.  
  520.           P. C. Softsmith
  521.           Suite 606 6455 Willingdon Ave
  522.           Burnaby, B. C., Canada
  523.           V5H 4E4
  524.  
  525.  
  526.           portions of this document are:
  527.           Copyright (C)1994-5  P. C. Softsmith  All Rights Reserved
  528.  
  529.           Please also carefully read the accompanying SHR_WARE.txt
  530.           document.
  531.  
  532.  
  533.  
  534.           6.0 Warranty
  535.  
  536.           THE DOCUMENTATION AND ASSOCIATED SOFTWARE ARE DISTRIBUTED AND
  537.           SOLD WITH NO WARRANTIES, EITHER EXPRESS OR IMPLIED, REGARDING
  538.           ITS MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE.
  539.           THE INFORMATION IN THIS DOCUMENTATION IS SUBJECT TO CHANGE
  540.           WITHOUT NOTICE AND DOES NOT REPRESENT A COMMITTMENT ON THE
  541.           PART OF THE VENDOR.
  542.  
  543.           OTHER PRODUCT AND BRAND NAMES MENTIONED ARE TRADEMARKS OR
  544.           REGISTERED TRADEMARKS OF THEIR RESPECTIVE HOLDERS.  FOR
  545.           INFORMATION ONLY, PORTIONS OF THIS DOCUMENT AND THE SOFTWARE
  546.           ARE LICENSED COPYRIGHT MATERIAL COURTESY DOUGLAS THOMSON
  547.  
  548.  
  549.  
  550.           7.0 Acknowledgments
  551.  
  552.           This product has been developed from TeleReplica with the
  553.           co-operation of the author, and a proportion of each
  554.           registration is being forwarded to Douglas Thomson.
  555.  
  556.  
  557.  
  558.  
  559.  
  560.  
  561.  
  562.  
  563.  
  564.  
  565.  
  566.  
  567.  
  568.  
  569.  
  570.  
  571.  
  572.